﻿#pragma once

#include <qlineedit.h>

class LineEdit_ThermostatTemperature : public QLineEdit
{
  Q_OBJECT

private:
  int accuracy = 4;
public:
  LineEdit_ThermostatTemperature(QWidget *parent);
  ~LineEdit_ThermostatTemperature();

  float getTemperature();
  void setTemperature(float temperature);
private slots:
  void slot_thermostatTemperatureLineEditFinished();
public:
  int getAccuracy();
  void setAccuracy(int accuracy);
};
